package com.lyp.qczp.service;

import java.util.Map;

import org.springframework.data.domain.PageRequest;

import com.lyp.qczp.entity.Employee;

public interface EmployeeService {
	//增改
	int save(Employee employee);
	//删除
	int deleteById(Integer eId);
	
	/**
	 * 分页查询所有
	 */
	Map<String, Object> findAll(PageRequest pageable,Employee employee);
	//根据姓名查单个员工
	Employee findByeName(String eName);
	
	int updateeTypeByeId(Integer eType,Integer eId);
}
